i2c: tegra: add standardized clk/reset API support
authorBryan Wu <[email protected]>
Fri, 5 Aug 2016 22:10:35 +0000 (16:10 -0600)
committerTom Warren <[email protected]>
Mon, 15 Aug 2016 17:26:13 +0000 (10:26 -0700)
commit3c27fa2193f761e93d64e3c538c6931e6172adef
tree8deb803bea8303f10d25377d7ec9088f25c40b66
parentbbc5b36b2519d5aaa267a2bffba4b3e44dc8f51c
i2c: tegra: add standardized clk/reset API support

clk/reset API was tested on T186 platform and previous chip like
T210/T124 will still use the old APIs.

Signed-off-by: Bryan Wu <[email protected]>
(swarren, simplified some ifdefs, removed indent level inside an ifdef)
(swarren, added comment about the ifdefs)
Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
drivers/i2c/tegra_i2c.c